﻿<UserControl x:Class="Levfier.GUI.EditorControls.Parameters.ParameterSliderVertical"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="300"  Width="24" HorizontalAlignment="Center" MouseLeftButtonDown="UserControl_MouseLeftButtonDown">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <!--Dark Theme-->
                <ResourceDictionary Source="../../../Themes/Metro/Dark/MetroDark.MSControls.Core.Implicit.xaml" />
                <!--<ResourceDictionary Source="../Dark/MetroDark.MSControls.Toolkit.Implicit.xaml" />-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="20"/>
        </Grid.RowDefinitions>
        <TextBlock x:Name="parameterName" Grid.Row="3" HorizontalAlignment="Center"/>
        <Slider x:Name="parameterSlider" Grid.Row="1" Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"/>
        <TextBlock x:Name="currentValue" Grid.Row="0" Text="{Binding ElementName=parameterSlider, Path=Value}" HorizontalAlignment="Center"></TextBlock>
    </Grid>
</UserControl>
